package com.matt.docpro.mapper;

import com.matt.docpro.model.Blog;
import com.matt.docpro.model.Clinic;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 */
@Mapper
public interface BlogMapper {

    List<Blog> getAll();

    Blog getById(String id);

    void update(Blog blog);

    void insert(Blog blog);

    void deleteById(String id);

}